<template>
	<view class="my">
		<my-login v-if="!token"></my-login>
		<my-userInfo v-else></my-userInfo>
	</view>
</template>

<script>
	import mixins from '@/mixins/tabber.badge.js'
	import {
		mapState
	} from 'vuex'
	export default {
		mixins: [mixins],
		computed: {
			...mapState('user', ['token'])
		},
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>


<style lang="scss">
page,.my{
	height: 100%;
}
</style>